package gentle.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * <p>
 * 部门表
 * </p>
 *
 * @author stylefeng
 * @since 2017-07-11
 */
public class Deptinfos extends Model<Deptinfos> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 排序
     */
	private Integer num;

	private Integer levelTwoAudit;  //二级折扣
	private Integer levelOneAudit;  //一级折扣
	private Integer auditswitch;
	private Integer lowestPriceBill;
	private Integer auditofdept;
    /**
     * 父部门id
     */
	private String pid;
    /**
     * 父级ids
     */
	private String pids;
    /**
     * 简称
     */
	private String simplename;
    /**
     * 全称
     */
	private String fullname;
    /**
	 * 提示
	 */
	private String tips;
	/**
	 * 省份
	 */
	private String province;
	/**
	 * 城市
	 */
	private String cities;

	private String proportional;

    /**
     * 版本（乐观锁保留字段）
     */
	private String transportation;

	private String address;

	private String phone;

	private String sttleAccountsHour;

	private String sttleAccountsMinute;

	private String sttleAccountsSecond;

	private String areaAbbreviation;

	private String subordinateAbbreviation;

	private String area;
	private String memberSwitch;

	public Integer getLowestPriceBill() {
		return lowestPriceBill;
	}

	public void setLowestPriceBill(Integer lowestPriceBill) {
		this.lowestPriceBill = lowestPriceBill;
	}

	public String getMemberSwitch() {
		return memberSwitch;
	}

	public void setMemberSwitch(String memberSwitch) {
		this.memberSwitch = memberSwitch;
	}
	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getSubordinateAbbreviation() {
		return subordinateAbbreviation;
	}

	public void setSubordinateAbbreviation(String subordinateAbbreviation) {
		this.subordinateAbbreviation = subordinateAbbreviation;
	}

	public String getAreaAbbreviation() {
		return areaAbbreviation;
	}

	public void setAreaAbbreviation(String areaAbbreviation) {
		this.areaAbbreviation = areaAbbreviation;
	}

	public String getSttleAccountsSecond() {
		return sttleAccountsSecond;
	}

	public Integer getAuditswitch() {
		return auditswitch;
	}

	public void setAuditswitch(Integer auditswitch) {
		this.auditswitch = auditswitch;
	}

	public Integer getAuditofdept() {
		return auditofdept;
	}

	public void setAuditofdept(Integer auditofdept) {
		this.auditofdept = auditofdept;
	}

	public void setSttleAccountsSecond(String sttleAccountsSecond) {
		this.sttleAccountsSecond = sttleAccountsSecond;
	}

	public String getSttleAccountsHour() {
		return sttleAccountsHour;
	}

	public void setSttleAccountsHour(String sttleAccountsHour) {
		this.sttleAccountsHour = sttleAccountsHour;
	}

	public String getSttleAccountsMinute() {
		return sttleAccountsMinute;
	}

	public void setSttleAccountsMinute(String sttleAccountsMinute) {
		this.sttleAccountsMinute = sttleAccountsMinute;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	private Integer version;

	private String abbreviation;

	public String getAbbreviation() {
		return abbreviation;
	}

	public void setAbbreviation(String abbreviation) {
		this.abbreviation = abbreviation;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getPids() {
		return pids;
	}

	public void setPids(String pids) {
		this.pids = pids;
	}

	public String getSimplename() {
		return simplename;
	}

	public void setSimplename(String simplename) {
		this.simplename = simplename;
	}

	public String getFullname() {
		return fullname;
	}

	public void setFullname(String fullname) {
		this.fullname = fullname;
	}

	public String getTips() {
		return tips;
	}

	public void setTips(String tips) {
		this.tips = tips;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCities() {
		return cities;
	}

	public void setCities(String cities) {
		this.cities = cities;
	}

	public String getProportional() {
		return proportional;
	}

	public void setProportional(String proportional) {
		this.proportional = proportional;
	}

	public Integer getLevelTwoAudit() {
		return levelTwoAudit;
	}

	public void setLevelTwoAudit(Integer levelTwoAudit) {
		this.levelTwoAudit = levelTwoAudit;
	}

	public Integer getLevelOneAudit() {
		return levelOneAudit;
	}

	public void setLevelOneAudit(Integer levelOneAudit) {
		this.levelOneAudit = levelOneAudit;
	}

	public String getTransportation() {
		return transportation;
	}

	public void setTransportation(String transportation) {
		this.transportation = transportation;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Dept{" +
			"id=" + id +
			", num=" + num +
			", pid=" + pid +
			", pids=" + pids +
			", simplename=" + simplename +
			", fullname=" + fullname +
			", tips=" + tips +
			", version=" + version +
				", province=" + province +
				", cities=" + cities +
			"}";
	}
}
